package com.example.back.jpa;

import com.example.common.entity.Config;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import org.javers.spring.annotation.JaversSpringDataAuditable;

@JaversSpringDataAuditable
public interface ConfigRepository extends JpaRepository<Config, Long> {

    List<Config> findAllByNetReferral(Boolean netReferral);

    List<Config> findAllByImgText(Boolean imgText);

    List<Config> findAllByPhone(Boolean phone);

    List<Config> findAllByVideo(Boolean video);
}
